package com.example.zzh.service.impl;

import com.example.zzh.entity.ZzhOrganization;
import com.example.zzh.entity.ZzhProductCategory;
import com.example.zzh.mapper.ZzhOrganizationMapper;
import com.example.zzh.mapper.ZzhProductCategoryMapper;
import com.example.zzh.service.ZzhOrganizationService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 * 机构表 服务实现类
 * </p>
 *
 * @author zzh
 * @since 2023-08-06
 */
@Service
public class ZzhOrganizationServiceImpl extends ServiceImpl<ZzhOrganizationMapper, ZzhOrganization> implements ZzhOrganizationService {
    @Resource
    private ZzhOrganizationMapper zzhOrganizationMapper;

    @Override
    public ZzhOrganization getRoleById(int id) {
        return zzhOrganizationMapper.selectById(id);
    }
}
